<%@	Page Language="C#" MasterPageFile="~/Default.master" Title="Jeff Duty | Home"
	CodeFile="Default.aspx.cs" Inherits="Default_aspx" %>

<asp:content id="Content1" contentplaceholderid="Main" runat="server">

	<div class="shim column"></div>
	
	<div class="page" id="home">
		<div id="sidebar">
			<asp:formview id="FormView1" runat="server" datasourceid="ObjectDataSource1" ondatabound="Randomize" cellpadding="0" borderwidth="0" enableviewstate="false">
				<ItemTemplate>
					<h4>Photo of the Day</h4>
					<table border="0" cellpadding="0" cellspacing="0" class="photo-frame">
						<tr>
							<td class="topx--"></td>
							<td class="top-x-"></td>
							<td class="top--x"></td>
						</tr>
						<tr>
							<td class="midx--"></td>
							<td><a href='Details.aspx?AlbumID=<%# Eval("AlbumID") %>&Page=<%# Container.DataItemIndex %>'>
								<img src="Handler.ashx?PhotoID=<%# Eval("PhotoID") %>&Size=M" class="photo_198" style="border:4px solid white" alt='Photo Number <%# Eval("PhotoID") %>' /></a></td>
							<td class="mid--x"></td>
						</tr>
						<tr>
							<td class="botx--"></td>
							<td class="bot-x-"></td>
							<td class="bot--x"></td>
						</tr>
					</table>
					<p>
                        &nbsp;<asp:Label ID="Label1" runat="server" Text='<%# Eval("Description") %>'></asp:Label></p>
					<p><a href='Download.aspx?AlbumID=<%# Eval("AlbumID") %>&Page=<%# Container.DataItemIndex %>'>
						<asp:image runat="Server" id="DownloadButton" AlternateText="download photo" skinid="download"/></a></p>
					<p>See <a href="Albums.aspx">more photos </a></p>
					<hr />
				</ItemTemplate>
			</asp:formview>
			
                <asp:FormView ID="FormView2" runat="server" DataSourceID="sdsProjectInfo">
                    <ItemTemplate>
                       <h4> My Latest Piece of Work</h4>
                           
                           <a  href='project.aspx?id=<%# Eval("PRO_ID") %>' title='<%# Eval("PRO_TITLE") %>'><%# Eval("PRO_TITLE") %></a><br /><br />
                        <asp:Label ID="labProjectInfo" runat="server" Text='<%# Eval("PRO_SHORT_DESC") %>'></asp:Label></ItemTemplate>
                </asp:FormView>
          
		</div>
		<div id="content">
			<h3>Welcome	to My Site (need a admin tool for this)</h3>
			<p>This	is my personal site. In	it you will find lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam	nonummy	nibh euismod tincidunt ut laoreet dolore magna aliquam erat	volutpat. Ut wisi enim ad minim	veniam.	</p>
			<hr	/>
			<div id="whatsnew">
				<h4>What's New (not sure for here)</h4>
				<p>Lorem <a href="#">ipsum</a> dolor sit amet, consectetuer	adipiscing elit, sed diam nonummy nibh euismod.</p>
				<p>Lorem <a href="#">ipsum</a> dolor sit amet, consectetuer	adipiscing elit, sed diam nonummy nibh euismod.</p>
			</div>
			<div id="coollinks">
				<h4>
                    Some Cool Links</h4>
                <asp:Repeater ID="Repeater1" runat="server" DataSourceID="sdsLinks">
                <HeaderTemplate><ul class="links"></HeaderTemplate>
                <ItemTemplate><li><a href="<%# Eval("LIN_URL") %>" title="<%# Eval("LIN_ALT") %>"><%# Eval("LIN_DISPLAY") %></a></li></ItemTemplate>
                <FooterTemplate></ul></FooterTemplate>
                </asp:Repeater>
			</div>
			
			<hr	/>
			
			<h4>What's Up Lately (blog stuff goes here)</h4>
			<p>Lorem ipsum dolor sit amet, <a href="#">consectetuer</a>	adipiscing elit, sed diam nonummy nibh euismod tincidunt ut	laoreet	dolore magna aliquam erat volutpat.	Ut wisi	enim ad	minim veniam, quis nostrud exercitation	consequat. Duis	autem veleum iriure	dolor in hendrerit in vulputate	velit esse molestie	consequat, vel willum.</p>
			<p>Lorem ipsum dolor sit amet, consectetuer	adipiscing elit, sed diam nonummy nibh <a href="#">euismod tincidunt ut</a>	laoreet	dolore magna aliquam erat volutpat.	Ut wisi	enim ad	minim veniam, quis nostrud exercitation	consequat. Duis	autem veleum iriure	dolor in hendrerit in vulputate	velit esse molestie	consequat, vel willum.</p>
			<p>Lorem<a href="#"> ipsum dolor sit amet</a>, consectetuer	adipiscing elit, sed diam nonummy nibh euismod tincidunt ut	laoreet	dolore magna aliquam erat volutpat.	Ut wisi	enim ad	minim veniam, quis nostrud exercitation	consequat. Duis	autem veleum iriure	dolor in hendrerit in vulputate	velit esse molestie	consequat, vel willum.</p>
			<p>Lorem ipsum dolor sit amet, consectetuer	adipiscing elit, sed diam nonummy nibh euismod tincidunt ut	laoreet	dolore magna aliquam erat volutpat.	Ut wisi	enim ad	minim veniam, quis nostrud exercitation	consequat. <a href="#">Duis	autem veleum</a> iriure	dolor in hendrerit in vulputate	velit esse molestie	consequat, vel willum.</p>
			<p>Lorem ipsum dolor sit amet, consectetuer	adipiscing elit, sed diam nonummy nibh euismod tincidunt ut	laoreet	dolore magna aliquam erat volutpat.	Ut wisi	enim ad	minim veniam, quis nostrud exercitation	consequat. <a href="#">Duis	autem veleum</a> iriure	dolor in hendrerit in vulputate	velit esse molestie	consequat, vel willum.</p>
		</div>
	</div>

	<asp:ObjectDataSource ID="ObjectDataSource1" Runat="server" TypeName="PhotoManager" 
		SelectMethod="GetPhotos">
	</asp:ObjectDataSource>
    <asp:SqlDataSource ID="sdsLinks" runat="server" ConnectionString="<%$ ConnectionStrings:PersonalConnectionString1 %>" SelectCommand="GetSomeLinks" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:Parameter DefaultValue="5" Name="NumberLinksToReturn" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="sdsProjectInfo" runat="server" ConnectionString="<%$ ConnectionStrings:PersonalConnectionString1 %>"
        SelectCommand="GetLatestUpdatedProject" SelectCommandType="StoredProcedure"></asp:SqlDataSource>

</asp:content>
